<template>
    <div>
        <h1>收费异常申诉进度显示如下</h1>
      <el-table :data="tableData">
        <el-table-column label="申诉id" prop="id"></el-table-column>
        <el-table-column label="用户id" prop="oId"></el-table-column>
        <el-table-column label="稽查员id" prop="IID"></el-table-column>
        <el-table-column label="记录id" prop="rID"></el-table-column>
        <el-table-column label="状态" prop="status">
          <template slot-scope="scope">
            <span v-if="scope.row.status===3||scope.row.status===0">申诉进行中</span>
            <span v-else-if="scope.row.status===1">申诉已同意</span>
            <span v-else-if="scope.row.status===2">申诉已驳回</span>

          </template>
        </el-table-column>
      </el-table>
    </div>
</template>
<script>
  import cookies from 'js-cookie'
  import axios from 'axios'
  export default {
    data(){
      return{
        jindu:Number,
        tableData:[]
      }
    },
    mounted() {
      this.getInfo()
    },
    methods:{
      getInfo(){
        axios.post('owner-inspector-apeal/get',{oId:cookies.get('id')}).then((res)=>{
          console.log(res)
          this.tableData=res.data.data
        })
      }
    }
  }
</script>
